<template>
  <div>
    <Button type="primary" @click="handleOpen">流程表单权限设置</Button>
    <FieldEditModal @register="registerModal" />
  </div>
</template>
<script lang="ts" setup name="FieldPerms">
  //import { watch, ref } from 'vue';
  import { Button } from 'ant-design-vue';
  import { useModal } from '/@/components/Modal';
  import FieldEditModal from './FieldEditModal.vue';
  // import modelerStore from '/@/store/modules/bpmnModeler';
  //const modeler = modelerStore();

  const [registerModal, { openModal }] = useModal();

  function handleOpen() {
    openModal(true, {});
  }
</script>
<style lang="less" scoped></style>
